home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980901-19981211
/
000309_news@newsmaster….columbia.edu _Mon Nov 16 21:02:05 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA08422
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 16 Nov 1998 21:02:05 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id VAA23506
for kermit.misc@watsun; Mon, 16 Nov 1998 21:02:05 -0500 (EST)
Path: news.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!newsfeed.berkeley.edu!xmission!news.cc.utah.edu!cc.usu.edu!jrd
From: jrd@cc.usu.edu (Joe Doupnik)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to get MS-DOS Kermit 3.15 to print automatically?
Message-ID: <MBKimWX58tuY@cc.usu.edu>
Date: 16 Nov 98 18:53:31 MDT
References: <72q0ac$dft$1@Jupiter.mcs.net>
Organization: Utah State University
Lines: 51
Xref: news.columbia.edu comp.protocols.kermit.misc:9516
In article <72q0ac$dft$1@Jupiter.mcs.net>, ddellutr@MCS.COM (Dale Dellutri) writes:
> I'm trying to get MS-DOS Kermit 3.15 to automatically print whatever
> is sent to the screen. I set up the following definition for the
> remote kermit (not the one running on the PC), then sent a file using
> it, as suggested in the C-Kermit book:
>
> define VTPRINT xecho \27[5i, type \%1, xecho \12\27[4i
>
> Then I started C-Kermit 6.1.193 Beta05 on the remote system and sent a
> file. When I used MS-DOS Kermit 3.15 on the PC, this did not work.
> When I used Terminal (the Windows standard accessory) it did work.
>
> What would I need to do to make MS-DOS Kermit 3.15 work?
> --
> Dale Dellutri - ddellutr@mcs.net
----------
Let's see if we can understand the test situation, because my
test below works perfectly.
What I did. Using an editor I made this one line file test.txt:
not printable<ESC>[5istart printing this text.<ESC>[4iinvisible again.
where <ESC> is actually byte decimal 27, Escape. I put this on my Unix
machine. On the MSK side, running a VT320 terminal emulator I told MSK
SET PRINTER PRINTER.TXT as a convenient way of capturing what otherwise
goes to DOS' PRN device. Then I told Unix cat test.txt.
On my screen I saw
$ cat test.txt
not printableinvisible again.
$
In file printer.txt I found this text:
start printing this text.
So my test demonstrated that Esc [ 5/4 i do work as designed in
MSK. And they work only when the VT200/300 level terminal emulation is
active.
Not being satisfied, I then started CKermit on the Unix machine
and at its command prompt I typed exactly your DEF VTPRINT... command.
Then still talking from MSK's VT320 terminal emulator via Telnet to the
Unix machine, with CKermit still stilling at its command prompt, I said
vtprint thisfile.txt
What I saw on my MSK screen was exactly nothing new, but file printer.txt
had the contents of thisfile.txt. This again shows both ends are doing what
they should.
What is unclear in your message is whether or not MSK was in
terminal emulation mode, and if so what kind of terminal, and if all
that is correct then does DOS drive your printer ok. Again, terminal
emulation mode is not active when transfering files, nor when we are
looking at the Kermit prompt.
Joe D.